package com.lsc.record.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "recode.db")
public class RecordConfig {
	
	private String scriptDir="classpath:sql";
	
	private boolean auditEnable = false;

	public boolean isAuditEnable() {
		return auditEnable;
	}

	public void setAuditEnable(boolean auditEnable) {
		this.auditEnable = auditEnable;
	}

	public String getScriptDir() {
		return scriptDir;
	}

	public void setScriptDir(String scriptDir) {
		this.scriptDir = scriptDir;
	}
	
	
}
